From: robertl Date: Mon, 23 Aug 2010 13:26:07 +0000 (+0000) Subject: Allow extended notes for PN-60. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~16^2~16 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=288b5866bf86fc38d0f7281d34fc85dc47294d1b;p=gpsbabel.git Allow extended notes for PN-60. --- diff --git a/delbin.c b/delbin.c index a527f6e84..34b92d97d 100644 --- a/delbin.c +++ b/delbin.c @@ -2184,6 +2184,9 @@ delbin_rw_init(const char *fname) } else if (strstr(p->product, "PN-30") || strstr(p->product, "PN-40")) { use_extended_notes = p->firmware[0] > '2' || (p->firmware[0] == '2' && p->firmware[2] >= '5'); + } else { + // assume PN-60 or later + use_extended_notes = TRUE; } delbin_unit_info[n_delbin_units].unit_number = n_delbin_units; delbin_unit_info[n_delbin_units].unit_serial_number = xstrndup(p->serial, sizeof(p->serial));